package classes.file.format;

public class Mgr06 {
  private static volatile Mgr06 INSTANCE;
  
  // 实现单例模式的双重检测锁
  public Mgr06 getINSTANCE() throws InterruptedException {
    if (INSTANCE == null) {
      synchronized (Mgr06.class) {
        if (INSTANCE == null) {
          Thread.sleep(1000);
          INSTANCE = new Mgr06();
        }
      }
    }
    
    return INSTANCE;
  }
}
